<template>
      <div>
            <div class="col-xs-12" style="">
                  <div class="input-group">
                        <input id="btn_ten_kaisou" type="button" value="店舗選択" style="width: 250px;margin-left:-15px;margin-bottom:15px;" class="btn btn-default btn-sm" @click="showModal"/>
                  </div> 
            </div>
            
      </div>  
</template>
<script>
import store from 'store';
export default {
      name:'storeComponent',
      props:{
      },
      data() {
            return {
                  store:new store(window.$),
            };
      },
      watch:{
      },
      methods:{
            showModal() {
                  this.store.show()
            }
      },
      computed:{
      },
      mounted(){
            this.store.init({
                  usercd:"10154057",
                  elementId:"btn_ten_kaisou",
                  fc:"true",
                  sls:"false",
                  moduleType:"product",
                  tenType:"1-1-1",
                  kizon:"true",
                  openTen:"true",
                  levelU:"1-1-1-1",
                  levelS:"1-1-1-0-1"
            })
      }
};
</script>

<style scoped>
.input-group {
      width: 100%;
}
</style>